<template>
  <section>
    <el-card>
      <el-page-header @back="$router.back()" content="🐱猫咪列表" />
    </el-card>

    <el-card class="mt-20">
      <child ref="child"/>
      <el-button @click="show">show</el-button>
    </el-card>
  </section>
</template>

<script>
import child from './child.vue'
export default {
  components: {
    child
  },
  methods: {
    show() {
      window.console.log(this.$refs['child'].changeMessage('修改message'))
    }
  }
}
</script>

<style>

</style>